package com.aurora.app.controller.weixin;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value="verification")
public class TokenController {
	@RequestMapping(value="/token")
	@ResponseBody
	public String token(HttpServletRequest request){
		String echostr = request.getParameter("echostr");
		return echostr;
	}
}
